﻿namespace KingerRobot.MexicoSailunMDC.SpiService;

internal interface IWcsNetInCuring
{
    /// <summary>
    /// 获取硫化站台位缓存区
    /// </summary>
    /// <param name="pickupId">取胎设备</param>
    /// <returns></returns>
    POWcsNetInCuring GetWcsNetinCuringByPickupId(long pickupId);
    /// <summary>
    /// 根据订中位获得信息
    /// </summary>
    /// <param name="locId">订中位</param>
    /// <returns></returns>
    POWcsNetInCuring GetWcsNetinCuringByTranLoc(long locId);
    /// <summary>
    /// 根据扫描库位获取定中库位
    /// </summary>
    /// <param name="locId"></param>
    /// <returns></returns>
    POWcsNetInCuring GetWcsNetinCuringByScanLoc(long locId);
    /// <summary>
    /// 修改不配对流水号
    /// </summary>
    /// <param name="locId"></param>
    /// <param name="barCode"></param>
    /// <param name="taskNo"></param>
    /// <returns></returns>
    int UpdateWcsNetinCuring(long locId, string barCode, int taskNo);
}
